<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/18
 * Time: 11:17
 */

namespace app\index\controller;



use think\Controller;


class UploadImage extends Controller
{

    public function file()
    {

        set_time_limit(0) ;
        ini_set("max_execution_time", 0);
        ini_set('memory_limit','13072M');    // 临时设置最大内存占用为3G
        ini_set("upload_max_filesize", '10240M');

        $ret = uploadImg('video');
        dump($ret);
        return view('upload_image_file');
    }


    public function info(){
        echo phpinfo();
    }




}